//
//  MyAFNTools.h
//  MyIOSProduct111网络框架的封装
//
//  Created by apple on 2016/11/14.
//  Copyright © 2016年 WangChen. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>

typedef NS_ENUM(NSUInteger, MyMethod) {
    GET = 1,
    POST
};

@interface MyAFNTools : AFHTTPSessionManager

+(instancetype)sharedTool;

+(instancetype)sharedOwnTool;

-(void)requestWithURLStr:(NSString *)urlString method:(MyMethod)method paramter:(id)paramter complete:(void(^)(id responseObj,NSError *error))complete;


@end
